#pragma once
class CImageList
{
public:
	CImageList();
	~CImageList();

	HIMAGELIST m_hImageList;

	BOOL Create(int cx, int cy, UINT nFlags, int nInitial, int nGrow);

	BOOL DeleteImageList();
	int Add(HBITMAP hbmImage, COLORREF crMask);

	BOOL BeginDrag(int nImage, POINT ptHotSpot);
	static void PASCAL EndDrag();
	static BOOL PASCAL DragMove(POINT pt);
	static BOOL PASCAL DragEnter(HWND hWndLock, POINT point);
	static BOOL PASCAL DragLeave(HWND hWndLock);
};

